from sqlalchemy import Column, Integer, String, BigInteger
from sqlalchemy.orm import relationship

from app.database import Base


class User(Base):
    __tablename__ = "users"

    id = Column(BigInteger, primary_key=True, index=True, autoincrement=True)
    openid = Column(String(255))
    nickname = Column(String(255))

    # form_answers = relationship("FormAnswer", back_populates="user")
